// 公共样式文件
.border-box {
    box-sizing: border-box;
}

.show-box {
    box-shadow: 0 3px 11px 0 rgba(163, 171, 186, 0.07);
}

.content {
    height: 100%;
    padding: 12px;
}

.echarts-content {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow: 0 3px 11px 0 rgba(163, 171, 186, 0.07);
    padding: 8px;
}

// margin--10px组合
.margin-10 {
    margin: 10px;
}
.mt-mb-10 {
    margin: 10px 0;
}
.ml-10 {
    margin-left: 10px;
}
.mr-10 {
    margin-right: 10px;
}
.mt-10 {
    margin-top: 10px;
}
.mb-10 {
    margin-bottom: 10px;
}
// margin--12px组合
.margin-12 {
    margin: 12px;
}
.mt-mb-12 {
    margin: 12px 0;
}

.ml-12 {
    margin-left: 12px;
}

.mr-12 {
    margin-right: 12px;
}

.mt-12 {
    margin-top: 12px;
}

.mb-12 {
    margin-bottom: 12px;
}
//清除浮动
.clearfix:after{
    content: '';
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.border-radius-4{
    border-radius: 4px;
}

.primary-table {
    width: 100%;
}

.form-item {
    display: flex;
    align-content: center;
    width: 100%;
    height: 100%;
    >span {
      width: 90px;
      white-space: nowrap;
      padding-right: 16px;
      line-height: 32px;
      font-size: 12px;
      text-align: right;
    }
    > div {
      flex: 1;
    }
}

.btn-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.card-content {
    width: 100%;
    height: calc(100% - 121px - 8px);
    border-radius: 4px;
    .el-table {
        width: 100%;
        height: calc(100% - 50px - 50px);
        // border-radius: 4px 4px 0 0;
    }
    .el-pagination {
        box-sizing: border-box;
        height: 50px;
        width: 100%;
        background-color: #ffffff;
        padding: 0 16px;
        border-radius: 0 0 4px 4px;
    }
}

.oper-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    border-radius: 4px 4px 0 0;
    padding: 0 16px;
    background-color: #ffffff;
    .el-button {
        margin-right: 10px;
    }
}


// Message
.el-message-box{
    border: none;
    padding: 0 !important;
    .el-message-box__header{
      background-color: #F5F7FD;
      padding: 10px 16px;
  
      .el-message-box__title{
        font-size: 12px;
        display: flex;
        align-items: center;
        &::before {
          content: '';
          display: inline-block;
          width: 4px;
          height: 12px;
          border-radius: 2px;
          background-color: #6383ff;
          margin-right: 8px;
        }
      }
      .el-message-box__headerbtn{
        top: 4px;
      }
    }
    .el-message-box__content{
      padding: 15px 18px;
    }
    .el-message-box__message p{
      word-break: break-all;
    }
    .el-message-box__btns {
        padding: 0 16px 16px;
    }
  }

.el-message{
    z-index: 9999!important;
  }
  
  .el-message-box__message p {
    word-break: break-all;
  }
  
  .el-message-box__btns {
    .el-button {
      font-size: 12px;
      height: 30px;
    }
  }

// 一行显示，超出显示省略号
.one-line {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.table-link {
    color: #6383ff;
    cursor: pointer;
    font-size: 12px;
    &:hover {
        opacity: .8;
    }
}

.point {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    &::before {
        content: '';
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: #6383ff;
        margin-right: 8px;
    }
}
  